﻿@model PagedList<Role>
<table class="table" >
    <thead>
        <tr> 
            <th>编号</th>
            <th style="width:40%">
                名称
            </th>
            <th style="width:40%">
                描述
            </th>
            <th style="width:80px">操作</th>
            <th>
                修改权限
            </th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr> 
                <td>@item.Id
                </td>
                <td>@item.RoleName
                </td>
                <td>@item.Description
                </td><td>@Html.EditLink(item.Id) @Html.ShortcutLink("删除", "Delete", new { item.Id})</td>
                <td> @Html.ShowEditDialog("修改权限", "EditPermission", new { item.Id })</td>
            </tr>
        }
    </tbody>
</table>
@Html.CommonPager(Model,ViewData["SearchModel"])